@section('title') 订单详情 @parent @stop
@section('content')
<div class="navbar theme-white">
	<div class="navbar-inner navbar-on-center">
		<div class="left"><a class="link external" href="{{ route('order.index') }}"> <i class="icon icon-back"></i></a></div>
		<div class="center sliding i18n">订单详情</div>
		<div class="right"></div>
	</div>
</div>
<div class="pages navbar-through toolbar-through">
	<div class="page no-swipeback page-on-center pb60 white" data-page="order-result">
		<div class="page-content">
			<div class="list-block media-list order-item-list">
				<ul>
					<li>
						<div class="item-content">
							<div class="item-inner"> 
								<div class="item-title">订单号：{{ $data['order_no'] }}  <span class="green">{{ $data['order_status'] }}</span></div>
							</div>
						</div>
					</li>
					<li>
						<div class="item-content">
							<div class="item-inner"> 
								<div class="item-title">下单时间：{{ $data['created_at'] }}</div>
							</div>
						</div>
					</li>
					@foreach($data['order_items'] AS $order_item)
					<li class="item-content">							
						<div class="item-media">{{ HTML::image($order_item['product_img'], '产品图', array('width'=>50, 'height'=>50)) }}</div>
						<div class="item-inner">
						  <div class="item-title-row">
							<div class="item-title">{{ $order_item['product_name'] }}</div>
						  </div>
                          <div class="item-subtitle"><a href="{{ route('store.item', $order_item['product_id']) }}" class="external" style="display:block;"><span class="price hl">&yen; {{ $order_item['product_price'] }}</span><span class="qty">&times; {{ $order_item['product_qty'] }}</span></a></div>
						</div>
					  </li>
					  @endforeach							
					<li>
						<div class="item-content">
							<div class="item-inner"> 
								<div class="item-title">总价：<strong class="hl">{{ $data['total_price'] }}</strong></div>
							</div>
						</div>
					</li>
                    <li>
						<div class="item-content">
							<div class="item-inner"> 
								<div class="item-title">联系方式：{{ $data['phone'] }}</div>
							</div>
						</div>
					</li>
					<li>
						<div class="item-content">
							<div class="item-inner"> 
								<div class="item-title">留言：{{ $data['memo'] }}</div>
							</div>
						</div>
					</li>			
				</ul>
			</div>
            <div class="content-block">
            <form action="http://lvtuan-pc-new/wxpay/example/native.php" method="post">
            	金额：<input type="text" name="money" value="">
            	<input type="text" name="title" value="test">
            	<input type="submit" name="pay" value="付款">
            </form>
                <p>感谢您的光临，您的订单正在处理中。<br />如需帮助，请直接拨打<a href="tel:13425121028" class="external">客服热线</a>进行咨询。</p>
            </div>
		</div>
	</div>
</div>               
@include('widgets.toolbar', array('active'=>'user'))
@stop
@section('bodyEnd')
@parent
<script src="{{ Config::get('app.url')}}/js/mobile-cart.js"></script>
<script>
ajaxCount('cart');
</script>
@stop